package com.example.demo.bean.log;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@TableName("sys_login_log")
@Accessors(chain = true)
public class SysLoginLogDO {
    @TableId
    private Long logId;
    private String userName;
    private String ipAddr;
    private String loginLocation;
    private String browser;
    private String os;
    private Integer status;
    private String msg;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date loginTime;
}
